{% extends "base.html" %}
{% block title %}LiveSociety {% endblock %}
{% block menu %}
							<table class="" cellspacing="0" cellpadding="1">
								<tbody>
								<tr>
									<td><label style="color: #A0A0A0">E-mail </label></td><td><input type="text" name="mail" id="login_mail"></td>
									<td><label style="color: #A0A0A0">Password </label></td><td><input type="password" name="pass" id="login_pass"></td>
									<td><input type="submit" value="Login"></td>
								</tr>
								<tr>
									<td></td>
									<td><label class="alert" id="login_mail_msg"></label></td>
									<td></td>
									<td><label class="alert" id="login_pass_msg"></label></td>
								</tr>
								</tbody>
							</table>
{% endblock %}
{% block content %}
		<div id="body_wrapper">
			<div id="body_content_top">
				<b class="msgbox">{{ msgbox|default:"" }}</b>
				<div id="middle_box">
					<div class="vt_spacer">
					</div>
					<div class="rb_title">
						Crea una cuenta
					</div>
					<div class="rb_comment">
						<div>
							<form class="form" id="f_register" method="post" action="register" onSubmit="return check_ff();">
							{% csrf_token %}
								<table class="" cellspacing="0" cellpadding="1">
									<tbody>
										<tr>
											<td><label id="name_label" >Nombre</label></td><td><input type="text" name="name" id="name"></td>
											<td><label class="alert" id="name_msg"></label></td>
										</tr>
										<tr>
											<td><label id="ln_label" >Apellidos</label></td><td><input type="text" name="lastname" id="lastname"></td>
											<td><label class="alert" id="ln_msg"></label></td>
										</tr>
										<tr>
											<td>
												<label id="gender_label">Sexo</label>
											</td>
											<td>
												<select name="gender" id="gender">
													<option value="0">Selecciona tu sexo</option>
													<option value="m">Masculino</option>
													<option value="f">Femenino</option>
												</select>
											</td>
											<td>
												<label class="alert" id="gender_msg"></label>
											</td>
										</tr>
										<tr>
											<td><label id="email_label">E-mail</label></td><td><input type="text" name="mail" id="mail"></td>
											<td><label class="alert" id="email_msg"></label></td>
										</tr>
										<tr>
											<td><label id="emailc_label">Repita e-mail</label></td><td><input type="text" id="mailcheck"></td>
											<td><label class="alert" id="emailc_msg"></label></td>
										</tr>
										<tr>
											<td><label id="pass_label">Contraseña</label></td><td><input type="password" name="pass" id="pass"></td>
											<td><label class="alert" id="pass_msg"></label></td>
										</tr>
										<tr>
											<td><label id="passc_label">Repita contraseña</label></td><td><input type="password" name="passcheck" id="passcheck"></td>
											<td><label class="alert" id="passc_msg"></label></td>
										</tr>
										<tr>
											<td></td>
										</tr>
										<tr>
											<td></td><td><input type="submit" value="Register!" ></td>
										</tr>
									</tbody>
								</table>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
{% endblock %}
